import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
	public static String getResult(String[] spInput) {
		String result = "";
		int a = Integer.parseInt(spInput[0]);
		int b = Integer.parseInt(spInput[1]);
		
		result += a + "+" + b + "=" + (a + b) + "\n";
		result += a + "*" + b + "=" + (a * b) + "\n";
		result += a + "-" + b + "=" + (a - b) + "\n";
		result += a + "/" + b + "=" + (a / b) + "..." + (a % b) + "\n";
		
		return result;
	}
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder output;
		String input;
		String[] spInput;
		
		while((input = br.readLine()) != null) {
			spInput = input.split(" ");
			
			output = new StringBuilder();
			
			output.append(getResult(spInput));
			
			System.out.print(output);
		}
	}
}